package common_classes;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;

import net.jini.export.ProxyAccessor;

public interface IAuthenticate extends Remote, Serializable {
	public boolean authenticateCustomer(String username, String password)
						throws RemoteException;
	
	public boolean authenticateProvider(String username, String password)
			throws RemoteException;
	
	public boolean addCustomerAccount(String username, String password)
			throws RemoteException;
	
	public boolean addProviderAccount(String username, String password)
			throws RemoteException;
}
